/* Navbar background and links hover effect */
.custom-navbar {
  background: linear-gradient(45deg, #1f4037, #99f2c8);
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: sticky; /* Makes the navbar sticky */
  top: 0; /* Sticks the navbar to the top */
  z-index: 1000; /* Ensures the navbar stays on top of other content */
}

/* Nav link styling */
.custom-navbar .nav-link {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

/* Hover effect for nav links */
.custom-navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: #f2f2f2;
  transform: scale(1.05);
}

/* Active link effect */
.custom-navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Search button styling */
.custom-btn {
  color: white;
  border-color: #28a745;
  transition: all 0.3s ease;
}

/* Search button hover effect */
.custom-btn:hover {
  background-color: #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
  color: white;
}

/* Search input styling */
.form-control {
  border-radius: 20px;
  border: 2px solid #28a745;
  box-shadow: inset 0 0 10px rgba(40, 167, 69, 0.3);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
}

/* Navbar Brand Logo */
.navbar-brand img {
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Logo hover effect */
.navbar-brand img:hover {
  transform: rotate(360deg);
}

/* Navbar background shine effect */
.custom-navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
  opacity: 0;
}

.custom-navbar:hover::after {
  left: 150%;
  opacity: 1;
}

/* Navbar end */

 /* carousel start */
/* General Carousel Styling */
.carousel-inner img {
  width: 100%;
  height: 80vh;
  object-fit: contain; /* Changed to 'contain' to avoid cutting images */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #09aa74;
}

.carousel {
  margin-top: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: #7c4dff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #ffd700;
  width: 12px;
  height: 12px;
}

/* Controls Styling */
.carousel-control-prev, 
.carousel-control-next {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
}

/* Media Queries for Mobile */
@media only screen and (max-width: 768px) {
  .carousel-inner img {
      height: 60vh; /* Slightly reduce height on tablets */
  }
}

@media only screen and (max-width: 480px) {
  .carousel-inner img {
      height: 50vh; /* Further reduce height on mobile phones */
  }
}
/* carsoule end */
/* General Styles for the Blog Section */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
.shiny-text {
  background: linear-gradient(90deg, #ffdd00, #fbb034, #ff4e50);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  0% {
    background-position: -200%;
  }
  100% {
    background-position: 200%;
  }
}
/* header end */
/* card iamges */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #d1e9ff, #ffffff); /* Subtle blue gradient background */
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Title Styling */
h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #0056b3; /* Deep blue color for headings */
  text-transform: uppercase;
  text-align: center;
  margin: 40px 0;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow for better focus */
  letter-spacing: 2px;
  animation: fadeIn 1s ease-in-out;
}

/* Card Styling */
.card {
  background: linear-gradient(135deg, #ffffff, #eaf4ff); /* Subtle gradient */
  border-radius: 20px; /* More rounded corners */
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.card:hover {
  transform: translateY(-15px) scale(1.05); /* More prominent lift and scaling */
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
  border: 2px solid #007bff; /* Blue border on hover */
}

/* Shine Effect */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  z-index: 1;
  transition: 0.6s;
  transform: skewX(-30deg);
}

.card:hover::before {
  left: 100%; /* Creates the shine effect */
}

/* Image Styling */
.card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 5px solid #0056b3; /* Blue accent below images */
}

/* Card Content Styling */
.card-body {
  padding: 20px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa, #eaf4ff); /* Subtle background gradient */
}

.card-body::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
  transform: scale(0.8);
  animation: pulsate 3s infinite ease-in-out;
}

.card-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
  margin-top: 10px;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.card-text:hover {
  color: #003d80;
  letter-spacing: 2px; /* More spacing on hover */
}

/* Pulsating Animation */
@keyframes pulsate {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

/* Fade-In Animation for Cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.8s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .card {
    margin-bottom: 20px;
  }

  .card-body {
    padding: 15px;
  }
}

/* Floating Glow Effect for Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.2), transparent);
  z-index: -1;
  animation: floatGlow 6s infinite alternate;
}

@keyframes floatGlow {
  from {
    transform: translate(-50px, -50px) scale(1);
  }
  to {
    transform: translate(50px, 50px) scale(1.2);
  }
}

/* card iamges end */

/* Enhanced Styling for the Real Estate  google Form Section */
.form-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #007bff);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,123,255,0.2), transparent 70%);
  z-index: 0;
  animation: pulse 6s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.form-container .btn-custom {
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #0056b3, #00bfff);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.form-container .btn-custom:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.form-container h2 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 20px;
  }

  .form-container .btn-custom {
    font-size: 1.2rem;
    padding: 12px 25px;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.4rem;
  }

  .form-container {
    padding: 15px;
  }

  .form-container .btn-custom {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* from close google */



@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider .slide-track {
  display: flex;
  width: calc(250px * 14); /* 7 images + 7 duplicates for smooth scrolling */
  animation: scroll 40s linear infinite; /* Adjust animation speed here */
}

.slider .slide {
  width: 250px;
  height: 100px;
  flex-shrink: 0;
  margin-right: 10px; /* Optional: Add spacing between slides */
}

.slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the images are properly scaled */
  border-radius: 10px; /* Optional: Add rounded corners */
}




/* Footer Styles */
.custom-footer {
  background: linear-gradient(45deg, #333, #555);
  color: white;
  padding: 30px 0;
  margin-top: 50px;
  position: relative;
}

.custom-footer h5 {
  font-size: 1.2rem;
  color: #ffd700;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.custom-footer p {
  font-size: 0.9rem;
  color: #f0f0f0;
}

.custom-footer a {
  color: #ffd700;
  transition: color 0.3s ease;
}

.custom-footer a:hover {
  color: #ffffff;
}

.custom-footer .footer-social {
  margin-top: 10px;
}

.custom-footer .footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  transition: background-color 0.3s ease;
  margin: 0 5px;
}

.custom-footer .footer-social a:hover {
  background-color: #ffd700;
}

.custom-footer .footer-bottom {
  padding: 15px 0;
  background: #222;
  text-align: center;
  font-size: 0.8rem;
  color: #ddd;
  border-top: 1px solid #555;
}
